home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
obj2asm.zip
/
OUMALLOC.C
< prev
next >
Wrap
Text File
|
1991-10-02
|
327b
|
17 lines
#include <stdio.h>
#include <alloc.h>
#include <stdlib.h>
#include "o.h"
void *o_malloc( word size )
{
char *result;
result = (char *)calloc( 1, size );
if( result == NULL ) {
fprintf(stderr, "Out of memory! [Crrraassshhhhh....]\n" );
exit(4);
}
return( result );
}